<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GuildServiceBasic: guild_service::GuildMembersLogic Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">GuildServiceBasic
   &#160;<span id="projectnumber">0.1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>guild_service</b></li><li class="navelem"><a class="el" href="classguild__service_1_1_guild_members_logic.html">GuildMembersLogic</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classguild__service_1_1_guild_members_logic-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">guild_service::GuildMembersLogic Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>公会成员模块逻辑类  
 <a href="classguild__service_1_1_guild_members_logic.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="guild__members__logic_8h_source.html">guild_members_logic.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ac7f0993f4688920af0ea43a8c042d888"><td class="memItemLeft" align="right" valign="top"><a id="ac7f0993f4688920af0ea43a8c042d888"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classguild__service_1_1_guild_members_logic.html#ac7f0993f4688920af0ea43a8c042d888">duty_type</a> = guildservicebasic_cpp::GuildDuty</td></tr>
<tr class="memdesc:ac7f0993f4688920af0ea43a8c042d888"><td class="mdescLeft">&#160;</td><td class="mdescRight">公会成员职责类型 <br /></td></tr>
<tr class="separator:ac7f0993f4688920af0ea43a8c042d888"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3738b59d43fc0e0df6fb49179832c3a4"><td class="memItemLeft" align="right" valign="top"><a id="a3738b59d43fc0e0df6fb49179832c3a4"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classguild__service_1_1_guild_members_logic.html#a3738b59d43fc0e0df6fb49179832c3a4">ForeachMemberCallbackType</a> = std::function&lt; void(const GuildMember &amp;)&gt;</td></tr>
<tr class="memdesc:a3738b59d43fc0e0df6fb49179832c3a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">遍历公会成员回调函数类型 <br /></td></tr>
<tr class="separator:a3738b59d43fc0e0df6fb49179832c3a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a56e60a6b4b77fe2de34fdbafab8ef7ea"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classguild__service_1_1_guild_members_logic.html#a56e60a6b4b77fe2de34fdbafab8ef7ea">GetModuleMembers</a> (const guild_id_type guild_id, GuildModuleMembers &amp;module_members)</td></tr>
<tr class="memdesc:a56e60a6b4b77fe2de34fdbafab8ef7ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Guild Members object.  <a href="classguild__service_1_1_guild_members_logic.html#a56e60a6b4b77fe2de34fdbafab8ef7ea">More...</a><br /></td></tr>
<tr class="separator:a56e60a6b4b77fe2de34fdbafab8ef7ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09078c8640708b96f3c386c05de9e995"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classguild__service_1_1_guild_members_logic.html#a09078c8640708b96f3c386c05de9e995">GetGuildMember</a> (const role_uuid_type role_uuid, GuildMember &amp;member)</td></tr>
<tr class="memdesc:a09078c8640708b96f3c386c05de9e995"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Guild Member object.  <a href="classguild__service_1_1_guild_members_logic.html#a09078c8640708b96f3c386c05de9e995">More...</a><br /></td></tr>
<tr class="separator:a09078c8640708b96f3c386c05de9e995"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad88087a91c220f839a57458ab7b3ff7c"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classguild__service_1_1_guild_members_logic.html#ad88087a91c220f839a57458ab7b3ff7c">KickOutGuildMember</a> (const role_uuid_type role_uuid, const role_uuid_type kick_role_uuid, error_code &amp;ec)</td></tr>
<tr class="memdesc:ad88087a91c220f839a57458ab7b3ff7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">踢出公会成员  <a href="classguild__service_1_1_guild_members_logic.html#ad88087a91c220f839a57458ab7b3ff7c">More...</a><br /></td></tr>
<tr class="separator:ad88087a91c220f839a57458ab7b3ff7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac68e04a42eb228588ef82b68a05bd338"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classguild__service_1_1_guild_members_logic.html#ac68e04a42eb228588ef82b68a05bd338">QuitMember</a> (const role_uuid_type role_uuid, guild_id_type &amp;guild_id, uint32_t &amp;member_left_count, error_code &amp;ec)</td></tr>
<tr class="memdesc:ac68e04a42eb228588ef82b68a05bd338"><td class="mdescLeft">&#160;</td><td class="mdescRight">退出公会  <a href="classguild__service_1_1_guild_members_logic.html#ac68e04a42eb228588ef82b68a05bd338">More...</a><br /></td></tr>
<tr class="separator:ac68e04a42eb228588ef82b68a05bd338"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5f3f731f6e3700ab25cf4f902e360e7"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classguild__service_1_1_guild_members_logic.html#ac7f0993f4688920af0ea43a8c042d888">duty_type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classguild__service_1_1_guild_members_logic.html#af5f3f731f6e3700ab25cf4f902e360e7">GetMemberDuty</a> (const role_uuid_type role_uuid)</td></tr>
<tr class="memdesc:af5f3f731f6e3700ab25cf4f902e360e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取公会成员职责  <a href="classguild__service_1_1_guild_members_logic.html#af5f3f731f6e3700ab25cf4f902e360e7">More...</a><br /></td></tr>
<tr class="separator:af5f3f731f6e3700ab25cf4f902e360e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a244505e6a5f0a9b5d3756fe25b14a8c2"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classguild__service_1_1_guild_members_logic.html#a244505e6a5f0a9b5d3756fe25b14a8c2">CheckMemberDuty</a> (const role_uuid_type role_uuid, const <a class="el" href="classguild__service_1_1_guild_members_logic.html#ac7f0993f4688920af0ea43a8c042d888">duty_type</a> duty)</td></tr>
<tr class="memdesc:a244505e6a5f0a9b5d3756fe25b14a8c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">检查公会成员职责  <a href="classguild__service_1_1_guild_members_logic.html#a244505e6a5f0a9b5d3756fe25b14a8c2">More...</a><br /></td></tr>
<tr class="separator:a244505e6a5f0a9b5d3756fe25b14a8c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a669a7d774ecb2044290bf6b41e46f5c4"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classguild__service_1_1_guild_members_logic.html#a669a7d774ecb2044290bf6b41e46f5c4">CheckMemberDuty</a> (const role_uuid_type role_uuid, std::vector&lt; <a class="el" href="classguild__service_1_1_guild_members_logic.html#ac7f0993f4688920af0ea43a8c042d888">duty_type</a> &gt; &amp;duty_list)</td></tr>
<tr class="memdesc:a669a7d774ecb2044290bf6b41e46f5c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">检查公会成员职责  <a href="classguild__service_1_1_guild_members_logic.html#a669a7d774ecb2044290bf6b41e46f5c4">More...</a><br /></td></tr>
<tr class="separator:a669a7d774ecb2044290bf6b41e46f5c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc5fdd3073b8747280fc8af451877b37"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classguild__service_1_1_guild_members_logic.html#adc5fdd3073b8747280fc8af451877b37">IsMemberDutyFull</a> (const guild_id_type guild_id, const <a class="el" href="classguild__service_1_1_guild_members_logic.html#ac7f0993f4688920af0ea43a8c042d888">duty_type</a> duty)</td></tr>
<tr class="memdesc:adc5fdd3073b8747280fc8af451877b37"><td class="mdescLeft">&#160;</td><td class="mdescRight">公会成员职责人数是否已满  <a href="classguild__service_1_1_guild_members_logic.html#adc5fdd3073b8747280fc8af451877b37">More...</a><br /></td></tr>
<tr class="separator:adc5fdd3073b8747280fc8af451877b37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0db26fa843a5c196b6e598253f72fb40"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classguild__service_1_1_guild_members_logic.html#a0db26fa843a5c196b6e598253f72fb40">SetMemberDuty</a> (const role_uuid_type role_uuid, const role_uuid_type member_role_uuid, const <a class="el" href="classguild__service_1_1_guild_members_logic.html#ac7f0993f4688920af0ea43a8c042d888">duty_type</a> duty, error_code &amp;ec)</td></tr>
<tr class="memdesc:a0db26fa843a5c196b6e598253f72fb40"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置公会成员  <a href="classguild__service_1_1_guild_members_logic.html#a0db26fa843a5c196b6e598253f72fb40">More...</a><br /></td></tr>
<tr class="separator:a0db26fa843a5c196b6e598253f72fb40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae86e10c9cc75290062f7da4725a7cea"><td class="memItemLeft" align="right" valign="top">static std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classguild__service_1_1_guild_members_logic.html#aae86e10c9cc75290062f7da4725a7cea">GetMembersCount</a> (const guild_id_type guild_id)</td></tr>
<tr class="memdesc:aae86e10c9cc75290062f7da4725a7cea"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取公会成员总人数  <a href="classguild__service_1_1_guild_members_logic.html#aae86e10c9cc75290062f7da4725a7cea">More...</a><br /></td></tr>
<tr class="separator:aae86e10c9cc75290062f7da4725a7cea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a47476331bf82e6da41dd4ab2287a461f"><td class="memItemLeft" align="right" valign="top">static std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classguild__service_1_1_guild_members_logic.html#a47476331bf82e6da41dd4ab2287a461f">GetMembersCountOnline</a> (const guild_id_type guild_id)</td></tr>
<tr class="memdesc:a47476331bf82e6da41dd4ab2287a461f"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取公会成员在线人数  <a href="classguild__service_1_1_guild_members_logic.html#a47476331bf82e6da41dd4ab2287a461f">More...</a><br /></td></tr>
<tr class="separator:a47476331bf82e6da41dd4ab2287a461f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a230f10dcf459563b59696cb1aeadcb26"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classguild__service_1_1_guild_members_logic.html#a230f10dcf459563b59696cb1aeadcb26">IsMemberFull</a> (const guild_id_type guild_id)</td></tr>
<tr class="memdesc:a230f10dcf459563b59696cb1aeadcb26"><td class="mdescLeft">&#160;</td><td class="mdescRight">公会成员人数是否已满  <a href="classguild__service_1_1_guild_members_logic.html#a230f10dcf459563b59696cb1aeadcb26">More...</a><br /></td></tr>
<tr class="separator:a230f10dcf459563b59696cb1aeadcb26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00179cc467c0e86642bde9273cbbb463"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classguild__service_1_1_guild_members_logic.html#a00179cc467c0e86642bde9273cbbb463">IsMemberExist</a> (const guild_id_type guild_id, const role_uuid_type role_uuid)</td></tr>
<tr class="memdesc:a00179cc467c0e86642bde9273cbbb463"><td class="mdescLeft">&#160;</td><td class="mdescRight">公会成员是否存在  <a href="classguild__service_1_1_guild_members_logic.html#a00179cc467c0e86642bde9273cbbb463">More...</a><br /></td></tr>
<tr class="separator:a00179cc467c0e86642bde9273cbbb463"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99f29b8440a9d996a22d9fe6b17144e8"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classguild__service_1_1_guild_members_logic.html#a99f29b8440a9d996a22d9fe6b17144e8">AddGuildMember</a> (const guild_id_type guild_id, const role_uuid_type role_uuid, error_code &amp;ec)</td></tr>
<tr class="memdesc:a99f29b8440a9d996a22d9fe6b17144e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">添加公会成员  <a href="classguild__service_1_1_guild_members_logic.html#a99f29b8440a9d996a22d9fe6b17144e8">More...</a><br /></td></tr>
<tr class="separator:a99f29b8440a9d996a22d9fe6b17144e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdbb6ec8011eba143b096cde7a62d8b6"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classguild__service_1_1_guild_members_logic.html#afdbb6ec8011eba143b096cde7a62d8b6">ForeachMember</a> (const guild_id_type guild_id, const <a class="el" href="classguild__service_1_1_guild_members_logic.html#a3738b59d43fc0e0df6fb49179832c3a4">GuildMembersLogic::ForeachMemberCallbackType</a> &amp;callback)</td></tr>
<tr class="memdesc:afdbb6ec8011eba143b096cde7a62d8b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">遍历公会成员  <a href="classguild__service_1_1_guild_members_logic.html#afdbb6ec8011eba143b096cde7a62d8b6">More...</a><br /></td></tr>
<tr class="separator:afdbb6ec8011eba143b096cde7a62d8b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>公会成员模块逻辑类 </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a99f29b8440a9d996a22d9fe6b17144e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a99f29b8440a9d996a22d9fe6b17144e8">&#9670;&nbsp;</a></span>AddGuildMember()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool guild_service::GuildMembersLogic::AddGuildMember </td>
          <td>(</td>
          <td class="paramtype">const guild_id_type&#160;</td>
          <td class="paramname"><em>guild_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const role_uuid_type&#160;</td>
          <td class="paramname"><em>role_uuid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">error_code &amp;&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>添加公会成员 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">guild_id</td><td>公会id </td></tr>
    <tr><td class="paramname">role_uuid</td><td>角色唯一id </td></tr>
    <tr><td class="paramname">ec</td><td>错误码 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true 添加成功 </dd>
<dd>
false 添加失败 </dd></dl>

</div>
</div>
<a id="a244505e6a5f0a9b5d3756fe25b14a8c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a244505e6a5f0a9b5d3756fe25b14a8c2">&#9670;&nbsp;</a></span>CheckMemberDuty() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool guild_service::GuildMembersLogic::CheckMemberDuty </td>
          <td>(</td>
          <td class="paramtype">const role_uuid_type&#160;</td>
          <td class="paramname"><em>role_uuid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classguild__service_1_1_guild_members_logic.html#ac7f0993f4688920af0ea43a8c042d888">duty_type</a>&#160;</td>
          <td class="paramname"><em>duty</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>检查公会成员职责 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">role_uuid</td><td>角色唯一id </td></tr>
    <tr><td class="paramname">duty</td><td>公会职责 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true 具备职责 </dd>
<dd>
false 不具备职责 </dd></dl>

</div>
</div>
<a id="a669a7d774ecb2044290bf6b41e46f5c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a669a7d774ecb2044290bf6b41e46f5c4">&#9670;&nbsp;</a></span>CheckMemberDuty() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool guild_service::GuildMembersLogic::CheckMemberDuty </td>
          <td>(</td>
          <td class="paramtype">const role_uuid_type&#160;</td>
          <td class="paramname"><em>role_uuid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; <a class="el" href="classguild__service_1_1_guild_members_logic.html#ac7f0993f4688920af0ea43a8c042d888">duty_type</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>duty_list</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>检查公会成员职责 </p>
<p>满足其一就返回true </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">role_uuid</td><td>角色唯一id </td></tr>
    <tr><td class="paramname">duty_list</td><td>公会职责列表 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true 具备职责 </dd>
<dd>
false 不具备职责 </dd></dl>

</div>
</div>
<a id="afdbb6ec8011eba143b096cde7a62d8b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afdbb6ec8011eba143b096cde7a62d8b6">&#9670;&nbsp;</a></span>ForeachMember()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void guild_service::GuildMembersLogic::ForeachMember </td>
          <td>(</td>
          <td class="paramtype">const guild_id_type&#160;</td>
          <td class="paramname"><em>guild_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classguild__service_1_1_guild_members_logic.html#a3738b59d43fc0e0df6fb49179832c3a4">GuildMembersLogic::ForeachMemberCallbackType</a> &amp;&#160;</td>
          <td class="paramname"><em>callback</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>遍历公会成员 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">guild_id</td><td>公会id </td></tr>
    <tr><td class="paramname">callback</td><td>遍历公会成员回调函数 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a09078c8640708b96f3c386c05de9e995"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09078c8640708b96f3c386c05de9e995">&#9670;&nbsp;</a></span>GetGuildMember()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool guild_service::GuildMembersLogic::GetGuildMember </td>
          <td>(</td>
          <td class="paramtype">const role_uuid_type&#160;</td>
          <td class="paramname"><em>role_uuid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GuildMember &amp;&#160;</td>
          <td class="paramname"><em>member</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the Guild Member object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">role_uuid</td><td></td></tr>
    <tr><td class="paramname">member</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true </dd>
<dd>
false </dd></dl>

</div>
</div>
<a id="af5f3f731f6e3700ab25cf4f902e360e7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5f3f731f6e3700ab25cf4f902e360e7">&#9670;&nbsp;</a></span>GetMemberDuty()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classguild__service_1_1_guild_members_logic.html#ac7f0993f4688920af0ea43a8c042d888">GuildMembersLogic::duty_type</a> guild_service::GuildMembersLogic::GetMemberDuty </td>
          <td>(</td>
          <td class="paramtype">const role_uuid_type&#160;</td>
          <td class="paramname"><em>role_uuid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取公会成员职责 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">role_uuid</td><td>角色唯一id </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>const duty_type 职责类型 </dd></dl>

</div>
</div>
<a id="aae86e10c9cc75290062f7da4725a7cea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aae86e10c9cc75290062f7da4725a7cea">&#9670;&nbsp;</a></span>GetMembersCount()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t guild_service::GuildMembersLogic::GetMembersCount </td>
          <td>(</td>
          <td class="paramtype">const guild_id_type&#160;</td>
          <td class="paramname"><em>guild_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取公会成员总人数 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">guild_id_type</td><td>公会id </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>std::size_t 总人数 </dd></dl>

</div>
</div>
<a id="a47476331bf82e6da41dd4ab2287a461f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a47476331bf82e6da41dd4ab2287a461f">&#9670;&nbsp;</a></span>GetMembersCountOnline()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t guild_service::GuildMembersLogic::GetMembersCountOnline </td>
          <td>(</td>
          <td class="paramtype">const guild_id_type&#160;</td>
          <td class="paramname"><em>guild_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取公会成员在线人数 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">guild_id</td><td>公会id </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>std::size_t 在线人数 </dd></dl>

</div>
</div>
<a id="a56e60a6b4b77fe2de34fdbafab8ef7ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a56e60a6b4b77fe2de34fdbafab8ef7ea">&#9670;&nbsp;</a></span>GetModuleMembers()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool guild_service::GuildMembersLogic::GetModuleMembers </td>
          <td>(</td>
          <td class="paramtype">const guild_id_type&#160;</td>
          <td class="paramname"><em>guild_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">GuildModuleMembers &amp;&#160;</td>
          <td class="paramname"><em>module_members</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the Guild Members object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">guild_id</td><td></td></tr>
    <tr><td class="paramname">module_members</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true </dd>
<dd>
false </dd></dl>

</div>
</div>
<a id="adc5fdd3073b8747280fc8af451877b37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc5fdd3073b8747280fc8af451877b37">&#9670;&nbsp;</a></span>IsMemberDutyFull()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool guild_service::GuildMembersLogic::IsMemberDutyFull </td>
          <td>(</td>
          <td class="paramtype">const guild_id_type&#160;</td>
          <td class="paramname"><em>guild_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classguild__service_1_1_guild_members_logic.html#ac7f0993f4688920af0ea43a8c042d888">duty_type</a>&#160;</td>
          <td class="paramname"><em>duty</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>公会成员职责人数是否已满 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">guild_id</td><td></td></tr>
    <tr><td class="paramname">duty</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true </dd>
<dd>
false </dd></dl>

</div>
</div>
<a id="a00179cc467c0e86642bde9273cbbb463"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00179cc467c0e86642bde9273cbbb463">&#9670;&nbsp;</a></span>IsMemberExist()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool guild_service::GuildMembersLogic::IsMemberExist </td>
          <td>(</td>
          <td class="paramtype">const guild_id_type&#160;</td>
          <td class="paramname"><em>guild_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const role_uuid_type&#160;</td>
          <td class="paramname"><em>role_uuid</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>公会成员是否存在 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">guild_id</td><td>公会id </td></tr>
    <tr><td class="paramname">role_uuid</td><td>角色唯一id </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true 公会成员存在 </dd>
<dd>
false 公会成员不存在 </dd></dl>

</div>
</div>
<a id="a230f10dcf459563b59696cb1aeadcb26"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a230f10dcf459563b59696cb1aeadcb26">&#9670;&nbsp;</a></span>IsMemberFull()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool guild_service::GuildMembersLogic::IsMemberFull </td>
          <td>(</td>
          <td class="paramtype">const guild_id_type&#160;</td>
          <td class="paramname"><em>guild_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>公会成员人数是否已满 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">guild_id</td><td>公会id </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true 人数已满 </dd>
<dd>
false 人数未满 </dd></dl>

</div>
</div>
<a id="ad88087a91c220f839a57458ab7b3ff7c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad88087a91c220f839a57458ab7b3ff7c">&#9670;&nbsp;</a></span>KickOutGuildMember()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool guild_service::GuildMembersLogic::KickOutGuildMember </td>
          <td>(</td>
          <td class="paramtype">const role_uuid_type&#160;</td>
          <td class="paramname"><em>role_uuid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const role_uuid_type&#160;</td>
          <td class="paramname"><em>kick_role_uuid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">error_code &amp;&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>踢出公会成员 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">role_uuid</td><td></td></tr>
    <tr><td class="paramname">kick_role_uuid</td><td></td></tr>
    <tr><td class="paramname">ec</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true </dd>
<dd>
false </dd></dl>

</div>
</div>
<a id="ac68e04a42eb228588ef82b68a05bd338"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac68e04a42eb228588ef82b68a05bd338">&#9670;&nbsp;</a></span>QuitMember()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool guild_service::GuildMembersLogic::QuitMember </td>
          <td>(</td>
          <td class="paramtype">const role_uuid_type&#160;</td>
          <td class="paramname"><em>role_uuid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guild_id_type &amp;&#160;</td>
          <td class="paramname"><em>guild_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t &amp;&#160;</td>
          <td class="paramname"><em>member_left_count</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">error_code &amp;&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>退出公会 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">role_uuid</td><td></td></tr>
    <tr><td class="paramname">guild_id</td><td></td></tr>
    <tr><td class="paramname">member_left_count</td><td></td></tr>
    <tr><td class="paramname">ec</td><td>错误码 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true </dd>
<dd>
false </dd></dl>

</div>
</div>
<a id="a0db26fa843a5c196b6e598253f72fb40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0db26fa843a5c196b6e598253f72fb40">&#9670;&nbsp;</a></span>SetMemberDuty()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool guild_service::GuildMembersLogic::SetMemberDuty </td>
          <td>(</td>
          <td class="paramtype">const role_uuid_type&#160;</td>
          <td class="paramname"><em>role_uuid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const role_uuid_type&#160;</td>
          <td class="paramname"><em>member_role_uuid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classguild__service_1_1_guild_members_logic.html#ac7f0993f4688920af0ea43a8c042d888">duty_type</a>&#160;</td>
          <td class="paramname"><em>duty</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">error_code &amp;&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置公会成员 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">role_uuid</td><td></td></tr>
    <tr><td class="paramname">member_role_uuid</td><td></td></tr>
    <tr><td class="paramname">duty</td><td></td></tr>
    <tr><td class="paramname">ec</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>guildservicebasic/logic/<a class="el" href="guild__members__logic_8h_source.html">guild_members_logic.h</a></li>
<li>guildservicebasic/logic/guild_members_logic.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
